cmake_minimum_required(VERSION 2.8)

project(modbus_tcp_demo)
set(CMAKE_CXX_FLAGS "-std=c++11")

add_executable(modbus_tcp_server modbus_tcp_server.cpp)
add_executable(modbus_tcp_client modbus_tcp_client2.cpp)
target_link_libraries(modbus_tcp_server modbus)
target_link_libraries(modbus_tcp_client modbus)
